#include "object3d.h"

Object3D::Object3D() : x(0.0), y(0.0), z(0.0)
{

}

Object3D::~Object3D()
{

}

Object3D::Object3D(const Object3D &object3d) : x(object3d.x), y(object3d.y), z(object3d.z)
{

}

Object3D& Object3D::operator=(const Object3D &object3d)
{
    x = object3d.x;
    y = object3d.y;
    z = object3d.z;
    return (*this);
}

Object3D::Object3D(const double &_x, const double &_y, const double &_z) : x(_x), y(_y), z(_z)
{

}

inline double Object3D::getX() const
{
    return x;
}

inline double Object3D::getY() const
{
    return y;
}

inline double Object3D::getZ() const
{
    return z;
}


inline void Object3D::setX(const double &_x)
{
    x = _x;
}

inline void Object3D::setY(const double &_y)
{
    y = _y;
}

inline void Object3D::setZ(const double &_z)
{
    z = _z;
}

inline void Object3D::setCoordinates(const double &_x,const double &_y,const double &_z)
{
    x = _x;
    y = _y;
    z = _z;
}

